//
//  COHotResponseModel.swift
//  CocoProject
//
//  Created by Vill on 2023/11/7.
//

import UIKit

struct COHotResponseModel: HandyJSON {
    var total:Int = 0
    var pageData:[HotListModel] = [HotListModel]()
}

struct HotListModel: HandyJSON {
    var id          : String = ""  //id
    var name        : String = ""  //主播昵称
    var age         : Int = 0      //年龄
    var gender      : Int = 0      //性别0男1女
    var price       : Int = 0      //价格
    var status      : Int = 3      //是否在线：1在线2繁忙，3离线
    var country     : String = ""  //国家
    var profilePhoto: String = ""  //头像
    var coverUrl    : String = ""  //封面
    var coverUrls   : [String]?    //三张图片
    var isFollow    : Int?         //是否关注、大于0已关注、为空和小于0没有关注
    var isPraise    : Bool = false //是否点赞
    var fans        : Int = 0      //粉丝数
    var countryCodeArr:[CountryCodeModel] = [CountryCodeModel]() //国家代码
}

struct CountryCodeModel: HandyJSON {
    var id          : Int = 0  //id
    var areaCode    : String = ""
    var enName      : String = ""
    var name        : String = ""
    var selfName    : String = ""
    var abbreviate  : String = ""
}

struct MarketResponseModel:HandyJSON {
    var response    : MarketModel = MarketModel()
}

struct MarketModel:HandyJSON {
    var image    : String = ""
    var link     : String = ""     //下载地址
    var email    : String = ""     //邮件
    var illustrate  : String = ""  //说明
    var type        : Int = 0
}


struct UploadResponseModel:HandyJSON {
    var url    : String = ""
}
